<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <!-- import CSS -->
    <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">

    <style>
        .c1{
            border: 1px solid black;
            background-color: pink;
            color:black;
            text-align: center;
        }
    </style>
</head>
<body>

<div id="app">
    <!--将一行划分两等份-->
    <el-row>
        <!--span此时这里的:加与不加都行-->
        <el-col :span="12"><div class="c1">贝奇</div></el-col>
        <el-col span="12"><div class="c1">贝奇</div></el-col>
    </el-row>
    <el-row gutter="10">
        <!--gutter设置每块col的间距-->
        <el-col :span="8"><div class="c1">雷奇</div></el-col>
        <el-col span="8"><div class="c1">雷奇</div></el-col>
        <el-col span="8"><div class="c1">雷奇</div></el-col>
    </el-row>
    <!--四等分-->
    <el-row>
        <el-col span="6"><div class="c1">出奇</div></el-col>
        <el-col span="6"><div class="c1">出奇</div></el-col>
        <el-col span="6"><div class="c1">出奇</div></el-col>
        <el-col span="6"><div class="c1">出奇</div></el-col>
    </el-row>
    <!--3:1-->
    <el-row gutter="20" style="width:1200px;margin: 0 auto"><!--margin:0 auto 0边距-->
        <el-col span="16"><div class="c1">来了 </div></el-col>
        <el-col span="8"><div class="c1">来了 </div></el-col>
    </el-row>
    <!--分栏偏移 -->
    <el-row gutter="20" ><!--margin:0 auto 0边距-->
        <!--offset设置偏移量-->
        <el-col span="20" offset="2"><div class="c1">来了 </div></el-col>
    </el-row>

</div>
</body>
<!-- import Vue before Element -->
<script src="../js/vue.js"></script>
<!-- import JavaScript -->
<script src="https://unpkg.com/element-ui/lib/index.js"></script>
<script>
    let  v = new Vue({
        el: '#app',
        data: function() {
            return { }
        }
    })
</script>

</html>